{extend name="base/main" /}
{block name="body"}
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>用户编辑</h5>
            </div>
            <div class="ibox-content">
                <form id="f" action="{:url('User/update')}" class="form-horizontal m-t">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">用户编辑：</label>
                        <div class="col-sm-4">
                            <input name="uid" value="{$find.uid}" class="form-control" type="text">
                            <span class="help-block m-b-none Validform_checktip" ><i class="fa fa-info-circle"></i> </span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">用户姓名：</label>
                        <div class="col-sm-4">
                            <input name="uid" value="{$find.uid}" class="form-control" type="text">
                            <span class="help-block m-b-none Validform_checktip" ><i class="fa fa-info-circle"></i> </span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">修改余额</label>
                        <div class="col-sm-4">
                            <div class="radio i-checks" style="height: 60px;">
                                <label class=""><input type="radio" value="增加" name="gold_num" checked><i></i> 指定分销</label>
                                <label class=""><input type="radio" value="减少" name="gold_num"><i></i> 人人分销</label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">余额：</label>
                        <div class="col-sm-4">
                            <input name="gold_num" value="{$find.gold_num}" class="form-control" type="text">
                            <span class="help-block m-b-none Validform_checktip" ><i class="fa fa-info-circle"></i> </span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态</label>
                        <div class="col-sm-4">
                            <div class="radio i-checks" style="height: 60px;">
                                <label class=""><input type="radio" value="开启" name="status" checked><i></i> 指定分销</label>
                                <label class=""><input type="radio" value="锁定" name="status"><i></i> 人人分销</label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">推广员</label>
                        <div class="col-sm-4">
                            <div class="radio i-checks" style="height: 60px;">
                                <label class=""><input type="radio" value="关闭" name="is_promoter" checked><i></i> 指定分销</label>
                                <label class=""><input type="radio" value="推广员" name="is_promoter"><i></i> 人人分销</label>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-3">
                            <input type="hidden" name="uid" value="{$find.uid}"/>
                            <button class="btn btn-primary" type="submit">提交</button>
                            <button class="btn btn-default historygo" type="button">返回</button>
                        </div>
                    </div>
                </form>
            </div>
                
        </div>
    </div>
{/block}